package com.gzhryc.pay.adaptation.weixin.msg.transfer.old;

import com.gzhryc.common.xml.annotation.XmlElement;

import java.io.Serializable;

@XmlElement("xml")
public class WXPayTransferMoneyOrderV2Response implements Serializable {

    @XmlElement
    private String return_code;				//SUCCESS/FAIL  返回状态码
    @XmlElement
    private String return_msg;				//返回信息	 如非空，为错误原因、 签名失败 、参数格式校验错误

    //以下字段在return_code为SUCCESS的时候有返回
    @XmlElement
    private String result_code ;//业务结果
    @XmlElement
    private String err_code ;//错误代码
    @XmlElement
    private String err_code_des ;//错误代码描述

    //以下字段在return_code 和result_code都为SUCCESS的时候有返回
    @XmlElement
    private String partner_trade_no;//商户企业付款单号
    @XmlElement
    private String appid ;//商户号的appid
    @XmlElement
    private String mch_id ;//商户号
    @XmlElement
    private String detail_id ;//调用企业付款API时，微信系统内部产生的单号
    @XmlElement
    private String status ;//SUCCESS:转账成功、FAILED:转账失败、PROCESSING:处理中
    @XmlElement
    private String reason	 ;//订单失败原因（如：余额不足）
    @XmlElement
    private String openid ; //收款用户openid
    @XmlElement
    private String transfer_name ;//收款用户姓名
    @XmlElement
    private Integer payment_amount ;//付款金额单位为“分”
    @XmlElement
    private String transfer_time ;//发起转账的时间
    @XmlElement
    private String payment_time ;//企业付款成功时间
    @XmlElement
    private String desc ;//企业付款备注


    public String getReturn_code() {
        return return_code;
    }
    public void setReturn_code(String return_code) {
        this.return_code = return_code;
    }
    public String getReturn_msg() {
        return return_msg;
    }
    public void setReturn_msg(String return_msg) {
        this.return_msg = return_msg;
    }
    public String getResult_code() {
        return result_code;
    }
    public void setResult_code(String result_code) {
        this.result_code = result_code;
    }
    public String getErr_code() {
        return err_code;
    }
    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }
    public String getErr_code_des() {
        return err_code_des;
    }
    public void setErr_code_des(String err_code_des) {
        this.err_code_des = err_code_des;
    }
    public String getPartner_trade_no() {
        return partner_trade_no;
    }
    public void setPartner_trade_no(String partner_trade_no) {
        this.partner_trade_no = partner_trade_no;
    }
    public String getAppid() {
        return appid;
    }
    public void setAppid(String appid) {
        this.appid = appid;
    }
    public String getMch_id() {
        return mch_id;
    }
    public void setMch_id(String mch_id) {
        this.mch_id = mch_id;
    }
    public String getDetail_id() {
        return detail_id;
    }
    public void setDetail_id(String detail_id) {
        this.detail_id = detail_id;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getReason() {
        return reason;
    }
    public void setReason(String reason) {
        this.reason = reason;
    }
    public String getOpenid() {
        return openid;
    }
    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public String getTransfer_name() {
        return transfer_name;
    }
    public void setTransfer_name(String transfer_name) {
        this.transfer_name = transfer_name;
    }
    public Integer getPayment_amount() {
        return payment_amount;
    }
    public void setPayment_amount(Integer payment_amount) {
        this.payment_amount = payment_amount;
    }
    public String getTransfer_time() {
        return transfer_time;
    }
    public void setTransfer_time(String transfer_time) {
        this.transfer_time = transfer_time;
    }
    public String getPayment_time() {
        return payment_time;
    }
    public void setPayment_time(String payment_time) {
        this.payment_time = payment_time;
    }
    public String getDesc() {
        return desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
